//
//  YCShopProductCollectionViewCell.h
//  YCSchool
//
//  Created by Yanglixia on 16/4/30.
//  Copyright © 2016年 yanglinxia. All rights reserved.
//

#import <UIKit/UIKit.h>

@class YCShopProductCollectionViewCell;

@protocol YCShopProductCellDelegate <NSObject>

@optional
// 点击了哪个cell
- (void)shopProductCell:(YCShopProductCollectionViewCell *)cell didTouchUpInsideReduceAndReduceButton:(UIButton *)button;

@end

@interface YCShopProductCollectionViewCell : UICollectionViewCell

@property (nonatomic, strong) UIView *bg;//背景
@property (nonatomic, strong) UIImageView *bgView;//背景图片
@property (nonatomic, strong) UILabel *foodNameLabel;// 商品名字
@property (nonatomic, strong) UILabel *priceLabel;// 价格
@property (nonatomic, strong) UILabel *numberLabel;//数量
@property (nonatomic, strong) UIButton *reduceBtn;//减价
@property (nonatomic, strong) UILabel *untiLabel; //
@property (nonatomic, strong) UIButton *plusBtn;  //+


@property (nonatomic, weak) id <YCShopProductCellDelegate> delegate;

@end
